package main

import "fmt"

func main15() {
	score := 86

	printGrade(score)
}

func printGrade(score int) {
	switch {
	case score >= 85:
		fmt.Print("等级A")
	case score >= 70:
		fmt.Print("等级B")
	case score >= 60:
		fmt.Print("等级C")
	default:
		fmt.Print("等级D")
	}
}
